#include "searchwindow.h"
#include "ui_searchwindow.h"

SearchWindow::SearchWindow(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::SearchWindow)
{
    ui->setupUi(this);
    this->setWindowTitle("搜索");
}

SearchWindow::~SearchWindow()
{
    delete ui;
}
/**/
QString SearchWindow::getText() //获得搜索框的文字
{
    QString text = ui->textEdit->toPlainText();
    return text;
}

void SearchWindow::sendsolts()  //按下按钮时发送信号
{
    emit signal();
}

